package com.example.demo.respository;

import com.example.demo.model.Region;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

public interface RegionRepository extends CrudRepository<Region, Long> {

    //    List<Region> findByIdBefore(int region_id);
    List<Region> findByIdBefore(int id);
}
